package cn.picclife.mwx.manager.util;

import cn.picclife.mwx.manager.util.uniqueseq.UniqueSeq;

public class ContextObj {
	
	private String threadUUID = "";// 当前请求id，写日志时用到
	
	private String ip;// 请求接口
	
	private String project; // 请求项目
	
	private String function; // 请求功能接口
	
	public String getThreadUUID() {
		if (threadUUID == null || threadUUID.equals(""))
			threadUUID = UniqueSeq.shortUUID();
		return threadUUID;
	}

	public void setThreadUUID(String threadUUID) {
		this.threadUUID = threadUUID;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getProject() {
		return project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public String getFunction() {
		return function;
	}

	public void setFunction(String function) {
		this.function = function;
	}
	
	
}
